package com.shopping.mall.core.module.freemarkerMail.mapper;

import com.shopping.mall.core.module.freemarkerMail.entity.FreemarkerMail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * FreemarkerMailMapper 接口
 * </p>
 *
 * @author zzy
 * @since 2021-09-27
 */
@Mapper
public interface FreemarkerMailMapper extends BaseMapper<FreemarkerMail> {
    List<FreemarkerMail> lastData();

    FreemarkerMail getLastTemplate(Integer mailType);
}
